package org.dromara.mall.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 商品轮播图对象 mall_goods_banner
 *
 * @author Mr Lei QQ：235921049
 * @date 2024-06-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_goods_banner")
public class MallGoodsBanner extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;
    private String title;

    /**
     * 图片地址
     */
    private String image;
    /*展示位置*/
    private Integer position;

    /**
     * 云存储地址
     */
    private String ossId;

    /**
     * 图片跳转地址
     */
    private String imgUrl;


}
